module.exports = (generator, { features }) => {
  generator.extendPackage({
    dependencies: {
      "vue-router": "^4.1.5",
    },
  });
  generator.render("./template", {
    useTypescript: features.includes("typescript"),
    needJudgeTsOrJs: true,
  });
};
